﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Taype.Trading.BTC.MtGoxAPIClient.JSONObjects
{
    // TODO: Add unit tests
    
    /// <summary>
    /// Encapsulated detailed info about balances in various user-held wallets enumerated by the info() method
    /// JSON data used to create these objects looks as follows:
    /// {\"Balance\":{\"value\":\"0.00000\",\"value_int\":\"0\",\"display\":\"$0.00000\",\"currency\":\"USD\"}
    /// </summary>
    public class MtGoxWalletBalance

    {
        public double value;

        public Int64 value_int;

        public string display;

        public MtGoxCurrencySymbol currency;

        public MtGoxWalletBalance()
        { }

        public MtGoxWalletBalance(double value, Int64 value_int, string display, MtGoxCurrencySymbol currency)
        {
            this.value = value;
            this.value_int = value_int;
            this.display = display;
            this.currency = currency;
        }

        public static MtGoxWalletBalance getObjects(string jsonData)
        {
            throw new NotImplementedException();
            return null;
        }
    }
}
